#include "Enemy.h"

Enemy::Enemy(double x, double y, double z) : Generic()
{
    this->load("content/models/HQ/LostSoul.md2");


    this->createBoundingVolume(Solid::BOX);
    this->scale(1,1,1);
    this->position(x,y,z);

    this->setMass(100);
    body->friction() = 1;

}

Enemy::~Enemy()
{
    //dtor
}

void Enemy::reset()
{
    this->position(this->position().getx()  + rand() %40 -20, this->position().gety(), this->position().getz()  + rand() %40 -20);
}
